Print 'START: Crear la tabla GiftCards'
CREATE TABLE MARAVILLA_SQL.GiftCards(
	IntIdGiftCard	int	IDENTITY(1, 1)	NOT NULL,
	datFecha	datetime NOT NULL, --TODO: Mejor CHAR(8)
	intIdClienteOrigen	int NOT NULL,
	intIdClienteDestino	int	NOT NULL,
	intIdMonto int NOT NULL,
	CONSTRAINT PK_GiftCards PRIMARY KEY CLUSTERED
	(
		IntIdGiftCard ASC
	)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
	, FOREIGN KEY (intIdClienteOrigen) REFERENCES MARAVILLA_SQL.Clientes(IntIdCliente)
	, FOREIGN KEY (intIdClienteDestino) REFERENCES MARAVILLA_SQL.Clientes(IntIdCliente)
	, FOREIGN KEY (IntIdMonto) REFERENCES MARAVILLA_SQL.MontoGiftCards(IntIdMonto)
) ON [PRIMARY]

GO
Print 'END: Crear la tabla GiftCards'